<gm:page title="Ski Club Events on a Map">
  <h2>VIC Ski Club Trips(with Pipes)</h2>

  <table width="900">
    <tr valign="top">
      <td width="300">
        <gm:list id="myList" pagesize="10" data="http://pipes.yahoo.com/pipes/pipe.run?_id=5OOrcPd83BGNlCcRyzUFzw&_render=rss">
          <gm:handleEvent src="map"/>
        </gm:list>
        <gm:item id="item" template="itemTemplate">
          <gm:handleEvent src="myList"/>
        </gm:item>
      </td>
      <td class="mainPanel">
        <gm:map id="map" data="${myList}" latref="geo:lat" lngref="geo:long">
          <gm:handleEvent src="myList"/>
        </gm:map>
      </td>
    </tr>
  </table>

  <gm:template id="itemTemplate">
    <div>
      <b><gm:link ref="link/@href" labelref="title"/></b><br/>
      <gm:text ref="summary"/><br/>
    </div>
  </gm:template>
</gm:page> 
